package Tread;

import java.util.concurrent.ConcurrentHashMap;

public class Example13_ConcurrentHashMap {
    public static void main(String[] args) {
        ConcurrentHashMap<String, Integer> map = new ConcurrentHashMap<>();
        map.put("key", 1);
        int value = map.get("key");
        System.out.println(value);
    }
}
